package com.appoint.buss.mapper;

import java.util.List;
import java.util.Map;

import com.appoint.buss.domain.EpiparaLatest;
import org.apache.ibatis.annotations.MapKey;

/**
 * LatestMapper接口
 *
 * @author appoint
 * @date 2023-01-01
 */
public interface EpiparaLatestMapper
{
    /**
     * 查询Latest
     *
     * @param id Latest主键
     * @return Latest
     */
    public EpiparaLatest selectEpiparaLatestById(Long id);

    /**
     * 查询Latest列表
     *
     * @param epiparaLatest Latest
     * @return Latest集合
     */
    public List<EpiparaLatest> selectEpiparaLatestList(EpiparaLatest epiparaLatest);

    /**
     * 新增Latest
     *
     * @param epiparaLatest Latest
     * @return 结果
     */
    public int insertEpiparaLatest(EpiparaLatest epiparaLatest);

    /**
     * 修改Latest
     *
     * @param epiparaLatest Latest
     * @return 结果
     */
    public int updateEpiparaLatest(EpiparaLatest epiparaLatest);

    /**
     * 删除Latest
     *
     * @param id Latest主键
     * @return 结果
     */
    public int deleteEpiparaLatestById(Long id);

    /**
     * 批量删除Latest
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEpiparaLatestByIds(Long[] ids);

    @MapKey("id")
    public List<Map<String, Object>> queryDataStatistics();
}
